//
//  Company.m
//  car
//
//  Created by chenxu on 4/14/15.
//  Copyright (c) 2015 chenxu. All rights reserved.
//

#import "Company.h"

@implementation Company



- (NSDictionary*)toCompanyParams{
    if (_Company) {
        return @{
                 @"Company" : _Company,
                 };
    }
    else{
        return @{
                 @"Company" : @"",
                 };
    }
}


- (NSDictionary*)toNameParams{
    return @{
             @"Businessname" : _Businessname,
             };
}

- (BOOL)isSameCompany:(Company*)com{
    return com.Bid == _Bid;
}
@end
